/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.topcased.SimplePDL;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Work Definition</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getLinksToPredecessors <em>Links To Predecessors</em>}</li>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getLinksToSuccessors <em>Links To Successors</em>}</li>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getName <em>Name</em>}</li>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getMinTime <em>Min Time</em>}</li>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getMaxTime <em>Max Time</em>}</li>
 *   <li>{@link org.topcased.SimplePDL.WorkDefinition#getNeededResources <em>Needed Resources</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition()
 * @model
 * @generated
 */
public interface WorkDefinition extends ProcessElement {
	/**
	 * Returns the value of the '<em><b>Links To Predecessors</b></em>' reference list.
	 * The list contents are of type {@link org.topcased.SimplePDL.WorkSequence}.
	 * It is bidirectional and its opposite is '{@link org.topcased.SimplePDL.WorkSequence#getSuccessor <em>Successor</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Links To Predecessors</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Links To Predecessors</em>' reference list.
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_LinksToPredecessors()
	 * @see org.topcased.SimplePDL.WorkSequence#getSuccessor
	 * @model opposite="successor"
	 * @generated
	 */
	EList<WorkSequence> getLinksToPredecessors();

	/**
	 * Returns the value of the '<em><b>Links To Successors</b></em>' reference list.
	 * The list contents are of type {@link org.topcased.SimplePDL.WorkSequence}.
	 * It is bidirectional and its opposite is '{@link org.topcased.SimplePDL.WorkSequence#getPredecessor <em>Predecessor</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Links To Successors</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Links To Successors</em>' reference list.
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_LinksToSuccessors()
	 * @see org.topcased.SimplePDL.WorkSequence#getPredecessor
	 * @model opposite="predecessor"
	 * @generated
	 */
	EList<WorkSequence> getLinksToSuccessors();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link org.topcased.SimplePDL.WorkDefinition#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Min Time</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Min Time</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Min Time</em>' attribute.
	 * @see #setMinTime(int)
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_MinTime()
	 * @model required="true"
	 * @generated
	 */
	int getMinTime();

	/**
	 * Sets the value of the '{@link org.topcased.SimplePDL.WorkDefinition#getMinTime <em>Min Time</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Min Time</em>' attribute.
	 * @see #getMinTime()
	 * @generated
	 */
	void setMinTime(int value);

	/**
	 * Returns the value of the '<em><b>Max Time</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Max Time</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Max Time</em>' attribute.
	 * @see #setMaxTime(int)
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_MaxTime()
	 * @model required="true"
	 * @generated
	 */
	int getMaxTime();

	/**
	 * Sets the value of the '{@link org.topcased.SimplePDL.WorkDefinition#getMaxTime <em>Max Time</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Max Time</em>' attribute.
	 * @see #getMaxTime()
	 * @generated
	 */
	void setMaxTime(int value);

	/**
	 * Returns the value of the '<em><b>Needed Resources</b></em>' reference list.
	 * The list contents are of type {@link org.topcased.SimplePDL.Resource}.
	 * It is bidirectional and its opposite is '{@link org.topcased.SimplePDL.Resource#getWorkDefinition <em>Work Definition</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Needed Resources</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Needed Resources</em>' reference list.
	 * @see org.topcased.SimplePDL.SimplePDLPackage#getWorkDefinition_NeededResources()
	 * @see org.topcased.SimplePDL.Resource#getWorkDefinition
	 * @model opposite="workDefinition"
	 * @generated
	 */
	EList<Resource> getNeededResources();

} // WorkDefinition
